package day12;

import org.xml.sax.SAXException;

import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
import java.io.File;
import java.io.IOException;

/**
 * @author oldliu
 * @since 1.0
 */
public class SaxHANDERTest {
    public static void main(String[] args) throws ParserConfigurationException, SAXException, IOException {
        SAXParserFactory factory=SAXParserFactory.newInstance();
        SAXParser saxParser = factory.newSAXParser();
        saxParser.parse(new File("E:\\java_workspace\\IdeaProjects\\java75-java\\advanced\\src\\day11\\courses.xml"),new MyHandler());

    }
}
